//
//  jingPinView.m
//  KCFurProject
//
//  Created by ios程序员 on 15/11/4.
//  Copyright (c) 2015年 ios程序员. All rights reserved.
//

#import "jingPinView.h"

@implementation jingPinView

-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame ];
    if (self) {
        self.jinPinImage = [[UIImageView alloc] initWithFrame:CGRectMake(5, 0, self.frame.size.width/3-5, self.frame.size.height)];
        [self addSubview:self.jinPinImage];
        [self.jinPinImage setImage:[UIImage imageNamed:@"shop08"]];

        self.jinPinImage.backgroundColor = [UIColor blackColor];
        
        self.tianTianImage = [[UIImageView alloc] initWithFrame:CGRectMake(self.frame.size.width/3+3, 0, self.frame.size.width/3-5, self.frame.size.height)];
        [self.tianTianImage setImage:[UIImage imageNamed:@"shop08"]];

        [self addSubview:self.tianTianImage];
        self.tianTianImage.backgroundColor = [UIColor yellowColor];
        
        self.quanMingImage = [[UIImageView alloc] initWithFrame:CGRectMake(self.frame.size.width/3*2, 0, self.frame.size.width/3-5, self.frame.size.height)];
        [self.quanMingImage setImage:[UIImage imageNamed:@"shop08"]];

        [self addSubview:self.quanMingImage];
        self.quanMingImage.backgroundColor = [UIColor redColor];
    }
    return self;
}


@end
